package com.peacebird.quick.job.mapper;

import com.peacebird.quick.job.model.BasTradeImport;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @Author: ZYZ
 * @DateTime: 2020/3/2 15:00
 * @Description:
 */
public interface TradeImportMapper {

    public int insertTradeImportNew(@Param("list") List<BasTradeImport> importData, @Param("sysdate") Date sysdate,
                                    @Param("importUser") String importUser, @Param("importMenu") String importMenu);

    public void executTradeImportNew(Map<String, Object> params);

    public int queryTradeRepetition(@Param("shopId") String shopId, @Param("dataDate") Date dataDate);


    public String checkShopId(@Param("shopId") String shopId);
}
